package y2015.day_08.图形形状;

public class Line extends Shape {

    @Override
    public void draw() {//实现父类的抽象方法
        System.out.println("――");
    }

    public void length() {
        System.out.println(
                "很长很长...");
    }

}

